package com.ssy.lingxi.member.merchant.model.vo.info.request;

import com.ssy.lingxi.member.merchant.model.vo.validate.request.MemberQualityVO;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * 修改会员入库资料接口参数VO
 * @author 万宁
 * @version 2.0.0
 * @date 2020-09-05
 */
public class MemberInfoUpdateDepositDetailVO implements Serializable {
    private static final long serialVersionUID = -7148493371578660261L;

    /**
     * 审核内容Id
     */
    @NotNull(message = "审核内容Id要大于0")
    @Positive(message = "审核内容Id要大于0")
    private Long validateId;

    /**
     * 会员资料，Map对象类型
     */
    private Map<String, Object> detail;

    /**
     * 资质文件列表
     */
    @Valid
    private List<MemberQualityVO> qualities;

    public Long getValidateId() {
        return validateId;
    }

    public void setValidateId(Long validateId) {
        this.validateId = validateId;
    }

    public Map<String, Object> getDetail() {
        return detail;
    }

    public void setDetail(Map<String, Object> detail) {
        this.detail = detail;
    }

    public List<MemberQualityVO> getQualities() {
        return qualities;
    }

    public void setQualities(List<MemberQualityVO> qualities) {
        this.qualities = qualities;
    }
}
